package com.jyh.dbOrder.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class JyhOrderPaymentExample {
    /**
     * jyh_order_payment
     */
    protected String orderByClause;

    /**
     * jyh_order_payment
     */
    protected boolean distinct;

    /**
     * jyh_order_payment
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public JyhOrderPaymentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-16
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * jyh_order_payment 2017-10-16
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrdernoIsNull() {
            addCriterion("orderNO is null");
            return (Criteria) this;
        }

        public Criteria andOrdernoIsNotNull() {
            addCriterion("orderNO is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernoEqualTo(String value) {
            addCriterion("orderNO =", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoNotEqualTo(String value) {
            addCriterion("orderNO <>", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoGreaterThan(String value) {
            addCriterion("orderNO >", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoGreaterThanOrEqualTo(String value) {
            addCriterion("orderNO >=", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoLessThan(String value) {
            addCriterion("orderNO <", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoLessThanOrEqualTo(String value) {
            addCriterion("orderNO <=", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoLike(String value) {
            addCriterion("orderNO like", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoNotLike(String value) {
            addCriterion("orderNO not like", value, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoIn(List<String> values) {
            addCriterion("orderNO in", values, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoNotIn(List<String> values) {
            addCriterion("orderNO not in", values, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoBetween(String value1, String value2) {
            addCriterion("orderNO between", value1, value2, "orderno");
            return (Criteria) this;
        }

        public Criteria andOrdernoNotBetween(String value1, String value2) {
            addCriterion("orderNO not between", value1, value2, "orderno");
            return (Criteria) this;
        }

        public Criteria andPuttimeIsNull() {
            addCriterion("putTime is null");
            return (Criteria) this;
        }

        public Criteria andPuttimeIsNotNull() {
            addCriterion("putTime is not null");
            return (Criteria) this;
        }

        public Criteria andPuttimeEqualTo(Date value) {
            addCriterion("putTime =", value, "puttime");
            return (Criteria) this;
        }

        public Criteria andPuttimeNotEqualTo(Date value) {
            addCriterion("putTime <>", value, "puttime");
            return (Criteria) this;
        }

        public Criteria andPuttimeGreaterThan(Date value) {
            addCriterion("putTime >", value, "puttime");
            return (Criteria) this;
        }

        public Criteria andPuttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("putTime >=", value, "puttime");
            return (Criteria) this;
        }

        public Criteria andPuttimeLessThan(Date value) {
            addCriterion("putTime <", value, "puttime");
            return (Criteria) this;
        }

        public Criteria andPuttimeLessThanOrEqualTo(Date value) {
            addCriterion("putTime <=", value, "puttime");
            return (Criteria) this;
        }

        public Criteria andPuttimeIn(List<Date> values) {
            addCriterion("putTime in", values, "puttime");
            return (Criteria) this;
        }

        public Criteria andPuttimeNotIn(List<Date> values) {
            addCriterion("putTime not in", values, "puttime");
            return (Criteria) this;
        }

        public Criteria andPuttimeBetween(Date value1, Date value2) {
            addCriterion("putTime between", value1, value2, "puttime");
            return (Criteria) this;
        }

        public Criteria andPuttimeNotBetween(Date value1, Date value2) {
            addCriterion("putTime not between", value1, value2, "puttime");
            return (Criteria) this;
        }

        public Criteria andRepaynoIsNull() {
            addCriterion("repayNO is null");
            return (Criteria) this;
        }

        public Criteria andRepaynoIsNotNull() {
            addCriterion("repayNO is not null");
            return (Criteria) this;
        }

        public Criteria andRepaynoEqualTo(String value) {
            addCriterion("repayNO =", value, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoNotEqualTo(String value) {
            addCriterion("repayNO <>", value, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoGreaterThan(String value) {
            addCriterion("repayNO >", value, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoGreaterThanOrEqualTo(String value) {
            addCriterion("repayNO >=", value, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoLessThan(String value) {
            addCriterion("repayNO <", value, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoLessThanOrEqualTo(String value) {
            addCriterion("repayNO <=", value, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoLike(String value) {
            addCriterion("repayNO like", value, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoNotLike(String value) {
            addCriterion("repayNO not like", value, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoIn(List<String> values) {
            addCriterion("repayNO in", values, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoNotIn(List<String> values) {
            addCriterion("repayNO not in", values, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoBetween(String value1, String value2) {
            addCriterion("repayNO between", value1, value2, "repayno");
            return (Criteria) this;
        }

        public Criteria andRepaynoNotBetween(String value1, String value2) {
            addCriterion("repayNO not between", value1, value2, "repayno");
            return (Criteria) this;
        }

        public Criteria andPutmoneyIsNull() {
            addCriterion("putMoney is null");
            return (Criteria) this;
        }

        public Criteria andPutmoneyIsNotNull() {
            addCriterion("putMoney is not null");
            return (Criteria) this;
        }

        public Criteria andPutmoneyEqualTo(BigDecimal value) {
            addCriterion("putMoney =", value, "putmoney");
            return (Criteria) this;
        }

        public Criteria andPutmoneyNotEqualTo(BigDecimal value) {
            addCriterion("putMoney <>", value, "putmoney");
            return (Criteria) this;
        }

        public Criteria andPutmoneyGreaterThan(BigDecimal value) {
            addCriterion("putMoney >", value, "putmoney");
            return (Criteria) this;
        }

        public Criteria andPutmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("putMoney >=", value, "putmoney");
            return (Criteria) this;
        }

        public Criteria andPutmoneyLessThan(BigDecimal value) {
            addCriterion("putMoney <", value, "putmoney");
            return (Criteria) this;
        }

        public Criteria andPutmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("putMoney <=", value, "putmoney");
            return (Criteria) this;
        }

        public Criteria andPutmoneyIn(List<BigDecimal> values) {
            addCriterion("putMoney in", values, "putmoney");
            return (Criteria) this;
        }

        public Criteria andPutmoneyNotIn(List<BigDecimal> values) {
            addCriterion("putMoney not in", values, "putmoney");
            return (Criteria) this;
        }

        public Criteria andPutmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("putMoney between", value1, value2, "putmoney");
            return (Criteria) this;
        }

        public Criteria andPutmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("putMoney not between", value1, value2, "putmoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyIsNull() {
            addCriterion("payMoney is null");
            return (Criteria) this;
        }

        public Criteria andPaymoneyIsNotNull() {
            addCriterion("payMoney is not null");
            return (Criteria) this;
        }

        public Criteria andPaymoneyEqualTo(BigDecimal value) {
            addCriterion("payMoney =", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyNotEqualTo(BigDecimal value) {
            addCriterion("payMoney <>", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyGreaterThan(BigDecimal value) {
            addCriterion("payMoney >", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("payMoney >=", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyLessThan(BigDecimal value) {
            addCriterion("payMoney <", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("payMoney <=", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyIn(List<BigDecimal> values) {
            addCriterion("payMoney in", values, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyNotIn(List<BigDecimal> values) {
            addCriterion("payMoney not in", values, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payMoney between", value1, value2, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payMoney not between", value1, value2, "paymoney");
            return (Criteria) this;
        }

        public Criteria andIsrepayIsNull() {
            addCriterion("isRepay is null");
            return (Criteria) this;
        }

        public Criteria andIsrepayIsNotNull() {
            addCriterion("isRepay is not null");
            return (Criteria) this;
        }

        public Criteria andIsrepayEqualTo(Integer value) {
            addCriterion("isRepay =", value, "isrepay");
            return (Criteria) this;
        }

        public Criteria andIsrepayNotEqualTo(Integer value) {
            addCriterion("isRepay <>", value, "isrepay");
            return (Criteria) this;
        }

        public Criteria andIsrepayGreaterThan(Integer value) {
            addCriterion("isRepay >", value, "isrepay");
            return (Criteria) this;
        }

        public Criteria andIsrepayGreaterThanOrEqualTo(Integer value) {
            addCriterion("isRepay >=", value, "isrepay");
            return (Criteria) this;
        }

        public Criteria andIsrepayLessThan(Integer value) {
            addCriterion("isRepay <", value, "isrepay");
            return (Criteria) this;
        }

        public Criteria andIsrepayLessThanOrEqualTo(Integer value) {
            addCriterion("isRepay <=", value, "isrepay");
            return (Criteria) this;
        }

        public Criteria andIsrepayIn(List<Integer> values) {
            addCriterion("isRepay in", values, "isrepay");
            return (Criteria) this;
        }

        public Criteria andIsrepayNotIn(List<Integer> values) {
            addCriterion("isRepay not in", values, "isrepay");
            return (Criteria) this;
        }

        public Criteria andIsrepayBetween(Integer value1, Integer value2) {
            addCriterion("isRepay between", value1, value2, "isrepay");
            return (Criteria) this;
        }

        public Criteria andIsrepayNotBetween(Integer value1, Integer value2) {
            addCriterion("isRepay not between", value1, value2, "isrepay");
            return (Criteria) this;
        }

        public Criteria andPaytimeIsNull() {
            addCriterion("payTime is null");
            return (Criteria) this;
        }

        public Criteria andPaytimeIsNotNull() {
            addCriterion("payTime is not null");
            return (Criteria) this;
        }

        public Criteria andPaytimeEqualTo(Date value) {
            addCriterion("payTime =", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeNotEqualTo(Date value) {
            addCriterion("payTime <>", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeGreaterThan(Date value) {
            addCriterion("payTime >", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeGreaterThanOrEqualTo(Date value) {
            addCriterion("payTime >=", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeLessThan(Date value) {
            addCriterion("payTime <", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeLessThanOrEqualTo(Date value) {
            addCriterion("payTime <=", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeIn(List<Date> values) {
            addCriterion("payTime in", values, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeNotIn(List<Date> values) {
            addCriterion("payTime not in", values, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeBetween(Date value1, Date value2) {
            addCriterion("payTime between", value1, value2, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeNotBetween(Date value1, Date value2) {
            addCriterion("payTime not between", value1, value2, "paytime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeIsNull() {
            addCriterion("executeTime is null");
            return (Criteria) this;
        }

        public Criteria andExecutetimeIsNotNull() {
            addCriterion("executeTime is not null");
            return (Criteria) this;
        }

        public Criteria andExecutetimeEqualTo(Date value) {
            addCriterion("executeTime =", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeNotEqualTo(Date value) {
            addCriterion("executeTime <>", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeGreaterThan(Date value) {
            addCriterion("executeTime >", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("executeTime >=", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeLessThan(Date value) {
            addCriterion("executeTime <", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeLessThanOrEqualTo(Date value) {
            addCriterion("executeTime <=", value, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeIn(List<Date> values) {
            addCriterion("executeTime in", values, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeNotIn(List<Date> values) {
            addCriterion("executeTime not in", values, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeBetween(Date value1, Date value2) {
            addCriterion("executeTime between", value1, value2, "executetime");
            return (Criteria) this;
        }

        public Criteria andExecutetimeNotBetween(Date value1, Date value2) {
            addCriterion("executeTime not between", value1, value2, "executetime");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyIsNull() {
            addCriterion("repayMoney is null");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyIsNotNull() {
            addCriterion("repayMoney is not null");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyEqualTo(BigDecimal value) {
            addCriterion("repayMoney =", value, "repaymoney");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyNotEqualTo(BigDecimal value) {
            addCriterion("repayMoney <>", value, "repaymoney");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyGreaterThan(BigDecimal value) {
            addCriterion("repayMoney >", value, "repaymoney");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("repayMoney >=", value, "repaymoney");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyLessThan(BigDecimal value) {
            addCriterion("repayMoney <", value, "repaymoney");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("repayMoney <=", value, "repaymoney");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyIn(List<BigDecimal> values) {
            addCriterion("repayMoney in", values, "repaymoney");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyNotIn(List<BigDecimal> values) {
            addCriterion("repayMoney not in", values, "repaymoney");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("repayMoney between", value1, value2, "repaymoney");
            return (Criteria) this;
        }

        public Criteria andRepaymoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("repayMoney not between", value1, value2, "repaymoney");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoIsNull() {
            addCriterion("repayBankNO is null");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoIsNotNull() {
            addCriterion("repayBankNO is not null");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoEqualTo(String value) {
            addCriterion("repayBankNO =", value, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoNotEqualTo(String value) {
            addCriterion("repayBankNO <>", value, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoGreaterThan(String value) {
            addCriterion("repayBankNO >", value, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoGreaterThanOrEqualTo(String value) {
            addCriterion("repayBankNO >=", value, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoLessThan(String value) {
            addCriterion("repayBankNO <", value, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoLessThanOrEqualTo(String value) {
            addCriterion("repayBankNO <=", value, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoLike(String value) {
            addCriterion("repayBankNO like", value, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoNotLike(String value) {
            addCriterion("repayBankNO not like", value, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoIn(List<String> values) {
            addCriterion("repayBankNO in", values, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoNotIn(List<String> values) {
            addCriterion("repayBankNO not in", values, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoBetween(String value1, String value2) {
            addCriterion("repayBankNO between", value1, value2, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknoNotBetween(String value1, String value2) {
            addCriterion("repayBankNO not between", value1, value2, "repaybankno");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameIsNull() {
            addCriterion("repayBankName is null");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameIsNotNull() {
            addCriterion("repayBankName is not null");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameEqualTo(String value) {
            addCriterion("repayBankName =", value, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameNotEqualTo(String value) {
            addCriterion("repayBankName <>", value, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameGreaterThan(String value) {
            addCriterion("repayBankName >", value, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameGreaterThanOrEqualTo(String value) {
            addCriterion("repayBankName >=", value, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameLessThan(String value) {
            addCriterion("repayBankName <", value, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameLessThanOrEqualTo(String value) {
            addCriterion("repayBankName <=", value, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameLike(String value) {
            addCriterion("repayBankName like", value, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameNotLike(String value) {
            addCriterion("repayBankName not like", value, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameIn(List<String> values) {
            addCriterion("repayBankName in", values, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameNotIn(List<String> values) {
            addCriterion("repayBankName not in", values, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameBetween(String value1, String value2) {
            addCriterion("repayBankName between", value1, value2, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybanknameNotBetween(String value1, String value2) {
            addCriterion("repayBankName not between", value1, value2, "repaybankname");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardIsNull() {
            addCriterion("repayBankCard is null");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardIsNotNull() {
            addCriterion("repayBankCard is not null");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardEqualTo(String value) {
            addCriterion("repayBankCard =", value, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardNotEqualTo(String value) {
            addCriterion("repayBankCard <>", value, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardGreaterThan(String value) {
            addCriterion("repayBankCard >", value, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardGreaterThanOrEqualTo(String value) {
            addCriterion("repayBankCard >=", value, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardLessThan(String value) {
            addCriterion("repayBankCard <", value, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardLessThanOrEqualTo(String value) {
            addCriterion("repayBankCard <=", value, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardLike(String value) {
            addCriterion("repayBankCard like", value, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardNotLike(String value) {
            addCriterion("repayBankCard not like", value, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardIn(List<String> values) {
            addCriterion("repayBankCard in", values, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardNotIn(List<String> values) {
            addCriterion("repayBankCard not in", values, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardBetween(String value1, String value2) {
            addCriterion("repayBankCard between", value1, value2, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andRepaybankcardNotBetween(String value1, String value2) {
            addCriterion("repayBankCard not between", value1, value2, "repaybankcard");
            return (Criteria) this;
        }

        public Criteria andIsoverdueIsNull() {
            addCriterion("isOverdue is null");
            return (Criteria) this;
        }

        public Criteria andIsoverdueIsNotNull() {
            addCriterion("isOverdue is not null");
            return (Criteria) this;
        }

        public Criteria andIsoverdueEqualTo(Integer value) {
            addCriterion("isOverdue =", value, "isoverdue");
            return (Criteria) this;
        }

        public Criteria andIsoverdueNotEqualTo(Integer value) {
            addCriterion("isOverdue <>", value, "isoverdue");
            return (Criteria) this;
        }

        public Criteria andIsoverdueGreaterThan(Integer value) {
            addCriterion("isOverdue >", value, "isoverdue");
            return (Criteria) this;
        }

        public Criteria andIsoverdueGreaterThanOrEqualTo(Integer value) {
            addCriterion("isOverdue >=", value, "isoverdue");
            return (Criteria) this;
        }

        public Criteria andIsoverdueLessThan(Integer value) {
            addCriterion("isOverdue <", value, "isoverdue");
            return (Criteria) this;
        }

        public Criteria andIsoverdueLessThanOrEqualTo(Integer value) {
            addCriterion("isOverdue <=", value, "isoverdue");
            return (Criteria) this;
        }

        public Criteria andIsoverdueIn(List<Integer> values) {
            addCriterion("isOverdue in", values, "isoverdue");
            return (Criteria) this;
        }

        public Criteria andIsoverdueNotIn(List<Integer> values) {
            addCriterion("isOverdue not in", values, "isoverdue");
            return (Criteria) this;
        }

        public Criteria andIsoverdueBetween(Integer value1, Integer value2) {
            addCriterion("isOverdue between", value1, value2, "isoverdue");
            return (Criteria) this;
        }

        public Criteria andIsoverdueNotBetween(Integer value1, Integer value2) {
            addCriterion("isOverdue not between", value1, value2, "isoverdue");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyIsNull() {
            addCriterion("overdueRateMoney is null");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyIsNotNull() {
            addCriterion("overdueRateMoney is not null");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyEqualTo(BigDecimal value) {
            addCriterion("overdueRateMoney =", value, "overdueratemoney");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyNotEqualTo(BigDecimal value) {
            addCriterion("overdueRateMoney <>", value, "overdueratemoney");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyGreaterThan(BigDecimal value) {
            addCriterion("overdueRateMoney >", value, "overdueratemoney");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("overdueRateMoney >=", value, "overdueratemoney");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyLessThan(BigDecimal value) {
            addCriterion("overdueRateMoney <", value, "overdueratemoney");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("overdueRateMoney <=", value, "overdueratemoney");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyIn(List<BigDecimal> values) {
            addCriterion("overdueRateMoney in", values, "overdueratemoney");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyNotIn(List<BigDecimal> values) {
            addCriterion("overdueRateMoney not in", values, "overdueratemoney");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overdueRateMoney between", value1, value2, "overdueratemoney");
            return (Criteria) this;
        }

        public Criteria andOverdueratemoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overdueRateMoney not between", value1, value2, "overdueratemoney");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyIsNull() {
            addCriterion("overdueSumMoney is null");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyIsNotNull() {
            addCriterion("overdueSumMoney is not null");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyEqualTo(BigDecimal value) {
            addCriterion("overdueSumMoney =", value, "overduesummoney");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyNotEqualTo(BigDecimal value) {
            addCriterion("overdueSumMoney <>", value, "overduesummoney");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyGreaterThan(BigDecimal value) {
            addCriterion("overdueSumMoney >", value, "overduesummoney");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("overdueSumMoney >=", value, "overduesummoney");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyLessThan(BigDecimal value) {
            addCriterion("overdueSumMoney <", value, "overduesummoney");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("overdueSumMoney <=", value, "overduesummoney");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyIn(List<BigDecimal> values) {
            addCriterion("overdueSumMoney in", values, "overduesummoney");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyNotIn(List<BigDecimal> values) {
            addCriterion("overdueSumMoney not in", values, "overduesummoney");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overdueSumMoney between", value1, value2, "overduesummoney");
            return (Criteria) this;
        }

        public Criteria andOverduesummoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overdueSumMoney not between", value1, value2, "overduesummoney");
            return (Criteria) this;
        }

        public Criteria andIsuseredIsNull() {
            addCriterion("isUseRed is null");
            return (Criteria) this;
        }

        public Criteria andIsuseredIsNotNull() {
            addCriterion("isUseRed is not null");
            return (Criteria) this;
        }

        public Criteria andIsuseredEqualTo(Integer value) {
            addCriterion("isUseRed =", value, "isusered");
            return (Criteria) this;
        }

        public Criteria andIsuseredNotEqualTo(Integer value) {
            addCriterion("isUseRed <>", value, "isusered");
            return (Criteria) this;
        }

        public Criteria andIsuseredGreaterThan(Integer value) {
            addCriterion("isUseRed >", value, "isusered");
            return (Criteria) this;
        }

        public Criteria andIsuseredGreaterThanOrEqualTo(Integer value) {
            addCriterion("isUseRed >=", value, "isusered");
            return (Criteria) this;
        }

        public Criteria andIsuseredLessThan(Integer value) {
            addCriterion("isUseRed <", value, "isusered");
            return (Criteria) this;
        }

        public Criteria andIsuseredLessThanOrEqualTo(Integer value) {
            addCriterion("isUseRed <=", value, "isusered");
            return (Criteria) this;
        }

        public Criteria andIsuseredIn(List<Integer> values) {
            addCriterion("isUseRed in", values, "isusered");
            return (Criteria) this;
        }

        public Criteria andIsuseredNotIn(List<Integer> values) {
            addCriterion("isUseRed not in", values, "isusered");
            return (Criteria) this;
        }

        public Criteria andIsuseredBetween(Integer value1, Integer value2) {
            addCriterion("isUseRed between", value1, value2, "isusered");
            return (Criteria) this;
        }

        public Criteria andIsuseredNotBetween(Integer value1, Integer value2) {
            addCriterion("isUseRed not between", value1, value2, "isusered");
            return (Criteria) this;
        }

        public Criteria andRednoIsNull() {
            addCriterion("redNO is null");
            return (Criteria) this;
        }

        public Criteria andRednoIsNotNull() {
            addCriterion("redNO is not null");
            return (Criteria) this;
        }

        public Criteria andRednoEqualTo(String value) {
            addCriterion("redNO =", value, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoNotEqualTo(String value) {
            addCriterion("redNO <>", value, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoGreaterThan(String value) {
            addCriterion("redNO >", value, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoGreaterThanOrEqualTo(String value) {
            addCriterion("redNO >=", value, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoLessThan(String value) {
            addCriterion("redNO <", value, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoLessThanOrEqualTo(String value) {
            addCriterion("redNO <=", value, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoLike(String value) {
            addCriterion("redNO like", value, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoNotLike(String value) {
            addCriterion("redNO not like", value, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoIn(List<String> values) {
            addCriterion("redNO in", values, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoNotIn(List<String> values) {
            addCriterion("redNO not in", values, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoBetween(String value1, String value2) {
            addCriterion("redNO between", value1, value2, "redno");
            return (Criteria) this;
        }

        public Criteria andRednoNotBetween(String value1, String value2) {
            addCriterion("redNO not between", value1, value2, "redno");
            return (Criteria) this;
        }
    }

    /**
     * jyh_order_payment
     *
     * @mbggenerated do_not_delete_during_merge 2017-10-16
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * jyh_order_payment 2017-10-16
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}